package com.dyna;

import com.dyna.constants.AppConstant;
import com.dyna.launch.DynaApplication;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableFeignClients
@EnableDiscoveryClient
@EnableScheduling
@MapperScan(basePackages = "com.dyna.**.mapper")
@SpringBootApplication
public class QiandaoApplication {

    public static void main(String[] args) {
        DynaApplication.run(AppConstant.APPLICATION_QIANDAO_NAME, QiandaoApplication.class, args);
    }

}
